package com.hzhr.iot.device.model.prodFactory;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.device.entity.ProdFactoryEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "ProdFactoryPostModel", description = "生产厂家模型(新增)")
@CygModel(entity = ProdFactoryEntity.class)
public class ProdFactoryPostModel {
    @ApiModelProperty(value = "说明 : 描述(show_info=true时展示)")
    @CygProperty(show = "", entityProp = "des")
    private String des;
    @ApiModelProperty(value = "说明 : 所属燃气公司编号(show_info=true时展示; 关联: user_service.company.id)")
    @CygProperty(show = "", entityProp = "companyId")
    private Integer companyId;

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
}
